package com.wallet.trans.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(value = "ra-api", path = "/v1/abc")
public interface AddressFeignClient {
    @GetMapping(value = "/address", produces = {"application/json;charset=utf-8"})
    String getAddress(@RequestParam String address);
}
